import request from '@/utils/request'
// 登录
export const login = data => request.post('/sys/login', data)
export const getUserInfo = () => request.get('/sys/profile')
export const updatePassword = (data) => request({
  url: '/sys/user/updatePass',
  method: 'PUT',
  data
})
